package com.woniuxy02;


import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-21 15:50
 */
public class Test04 {
    public static void main(String[] args) {

        Scanner scanner=new Scanner(System.in);
        System.out.println("输入年龄");
        int age=scanner.nextInt();
        System.out.println("输入成绩");
        double score= scanner.nextDouble();
        System.out.println("输入姓名");
        String name=scanner.next();
        System.out.println("输入性别，输入字符:男/女");
        char gender = scanner.next().charAt(0);
        System.out.println("age="+age);
        System.out.println("score="+score);
        System.out.println("name="+name);
        System.out.println("gender="+gender);
    }
}
